<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>门卫管理页面</title>
 <link rel="stylesheet" href="../layui/css/layui.css">
 <script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript" src="../js/ManageUser.js"></script>
<link rel="stylesheet" href="css/ManageUser.css">
</head>
<body>

	<table class="layui-table" lay-filter="indexTable" id="indexTable"></table>

</body>

	<!-- 头工具栏 -->
     <script type="text/JavaScript" id="insert_search">
        <button class="layui-btn layui-btn-radius layui-btn-sm " lay-event="insert">
			<i class="layui-icon">&#xe608;</i> 添加
		</button> 

		<div class="demoTable layui-inline">
		 <button class="layui-btn layui-btn-radius layui-btn-sm" data-type="reload" lay-event="search">
		  	<i class="layui-icon">&#xe615;</i>查询
		  </button>
		  	
		  <div class="layui-inline">
		    <input class="layui-input" name="id" id="searchStr" autocomplete="off">
		  </div> 
		</div>

    </script>
    
	<!-- 行工具栏 -->
    <script type="text/html" id="actions">     
        <button class="layui-btn layui-btn-xs layui-btn-normal" lay-event="update">
			<i class="layui-icon">&#xe642;</i>修改
		</button>
        <button class="layui-btn layui-btn-xs layui-btn-primary" lay-event="delete">
			<i class="layui-icon">&#xe640;</i>删除
		</button>    
    </script>
    
      <!-- 添加对话框 -->
	<script type="text/html" id="add-dialog"> 
	<div form class="layui-form">

		

		<div class="layui-form-item " style="margin-top:20px;">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-block">
				<input type="text" required id="userName">
			</div>
		</div>

		<div class="layui-form-item ">
			<label class="layui-form-label">密码</label>
			<div class="layui-input-block">
				<input type="text" required id="password">
			</div>
		</div>

		<div class="layui-form-item " style="margin-right:30px;">
			<label class="layui-form-label">管理停车场</label>
			<div class="layui-input-block">
				<select name="parkingName" lay-filter="option1" id="parkingName" lay-verify="required">
				</select>
			</div>
		</div>

		
	</div>
	</script>

		
<!-- 编辑对话框 -->
	<script type="text/html" id="update-dialog"> 

	<div form class="layui-form">
	
	<div class="layui-form-item" style="margin-top:20px;">
		<label class="layui-form-label">用户名</label>
		<div class="layui-input-block">
			<input type="text" disabled="disabled" required id="userName">
		</div>
	</div>

	<div class="layui-form-item">
		<label class="layui-form-label">当前管理</label>
		<div class="layui-input-block">
			<input type="text" disabled="disabled" required id="parkingId">
		</div>
	</div>

	<div class="layui-form-item" style="margin-right:30px;">
			<label class="layui-form-label">更新管理</label>
			<div class="layui-input-block">
				<select name="parkingName" lay-filter="option2" id="parkingName" lay-verify="required">
				</select>
			</div>
	</div>

	</div>

	</script>
</html>